package com.telecom.restaurant.exception;

import com.telecom.restaurant.domin.DataResult;

/**
 * Created by qiqi on 2019/12/22.
 */
public class BizException extends Exception {
    DataResult dataResult;


    public BizException() {
    }

    public BizException(DataResult dataResult) {
        this.dataResult = dataResult;
    }


    public DataResult getDataResult() {
        return dataResult;
    }

    public void setDataResult(DataResult dataResult) {
        this.dataResult = dataResult;
    }
}
